<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.2">
  <%@locations.each do |location|%>
    <Placemark>
      <name><%=location.try(:[], :name)%></name>
      <description><%=location.try(:[], :description)%></description>
      <Point>
        <coordinates><%=location.try(:[], :coordinates)%></coordinates>
      </Point>
    </Placemark>
  <%end%>
</kml>
